package org.jeecg.modules.wmhb.service;

import org.jeecg.modules.wmhb.entity.WmFlowDept;
import org.jeecg.modules.wmhb.entity.WmTaskbookFlow;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 任务书流程表
 * @Author: jeecg-boot
 * @Date:   2024-09-05
 * @Version: V1.0
 */
public interface IWmTaskbookFlowService extends IService<WmTaskbookFlow> {

	/**
	 * 添加一对多
	 *
	 * @param wmTaskbookFlow
	 * @param wmFlowDeptList
	 */
	public void saveMain(WmTaskbookFlow wmTaskbookFlow,List<WmFlowDept> wmFlowDeptList) ;
	
	/**
	 * 修改一对多
	 *
   * @param wmTaskbookFlow
   * @param wmFlowDeptList
	 */
	public void updateMain(WmTaskbookFlow wmTaskbookFlow,List<WmFlowDept> wmFlowDeptList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 查询事业部流程部门ID列表
	 */
	public List<String> selectBuDepart(String buId);
}
